// 获取选课状态

import axios from "axios";

export default function () {
    return axios({
        method: 'get',
        url: "/api/courseSelections?type=status",
        header: {
            Authorization: localStorage.getItem("Authorization")
        }
    }).then(response => {
        return response.data
    }).catch(() => {
        return {
            result: false,
        }
    });
}